package com.base.test.mutual.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

@Data
@ApiModel(value = "WMS公共返回值")
public class WmsRespData<T> implements Serializable {

    private static final long serialVersionUID = -689385109694384203L;

    @ApiModelProperty(value = "响应类型Success/Failure")
    private String ask;

    @ApiModelProperty(value = "响应消息")
    private String message;

    @ApiModelProperty(value = "请求ID")
    @JSONField(name = "request_id")
    private String requestId;

    @ApiModelProperty(value = "错误信息内容")
    private WmsErrorResp error;

    @ApiModelProperty(value = "响应数据")
    private T data;
}
